package com.lnj.api;

import com.lnj.bean.dto.ProductDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(   name="message")
public interface MessageApi {

    @RequestMapping("/message/send")
    void send(@RequestBody ProductDTO productDTO);
}
